package com.allenkerr.dao;

import com.allenkerr.model.Book;
import org.springframework.data.elasticsearch.core.query.CriteriaQuery;

import java.util.List;

/**
 * Created by 小柯 on 17/9/7.
 */
public interface BookRepositoryCustom {

    List<Book> findBooksByQuery(CriteriaQuery query);

}
